﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class BM_BMInfoConfirm : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        string _timeID = Request.Params["TimeID"].Trim();
        goUrl(_timeID);
    }

    protected void goUrl(string timeID)
    {
        string type = Exam.ExamType_GetExamType(timeID);
        string rtnUrl = string.Empty;
        switch (type)
        {
            case "0":
                rtnUrl = @"LevelBMConfirm.aspx?TimeID=" + timeID;
                break;
            case "1":
                rtnUrl = @"ZhuanShengBenBMConfirm.aspx?TimeID=" + timeID;
                break;
            default:
                rtnUrl = @"default.aspx";
                break;
        }
        Response.Redirect(rtnUrl);
    }
}